home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
source
/
swagg-m
/
hardware.swg
/
0027_Disabling PrtScr.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1994-02-03
|
413 b
|
21 lines
{ Anyone have any idea why this won't disable PrtScr? }
uses
crt,dos;
var
i : word;
old_status : byte;
prt_status : byte absolute $0040:$0100; { PrtScr status byte }
begin
old_status:= prt_status;
prt_status:= 1;
for i:= 1 to 20 do writeln(' This is line ',i);
writeln;
writeln('Press PrtScr to test, any other key to exit');
readkey;
prt_status:= old_status;
end.